-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project Management Automation: Derive due date from previous milestone #20851
Conversation
Size Change: +8.87 kB (1%) Total Size: 825 kB
ℹ️ View Unchanged
|
17bee20
to
3003d67
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It makes sense to approach it this way 👍
0677682
to
d58b673
Compare
d58b673
to
af7f5ef
Compare
Logging looks good at the merge automation: https://github.com/WordPress/gutenberg/runs/637302498
Notably, regarding #20851 (comment), I marked the Gutenberg 8.0 milestone as closed immediately prior to merging this pull request, and it was still able to discover it and compute the correct next due date. |
Blocked by (merges to): #20850Supersedes #20189
This pull request seeks to update the existing
addMilestone
task to avoid using constants for reference versions upon which the next milestone due date is calculated. As seen in #20189, these constants are fragile due to exceptions in release cycle. The changes here propose to use the previous milestone due date as the reference date. To support this, included are additional improvements to ensure that the milestone results from the GitHub REST API can be correctly paginated.This currently merges to the branch of #20850; the intention being to use the types-checking as a developer experience improvement for working with the Octokit REST API library, since the addition of types enables auto-completion in supported IDEs.
Testing Instructions:
Existing tests have been updated: